package com.efast.dmom.mes.entity;

import java.math.BigDecimal;

import com.efast.dmom.mes.entity.base.PartRelateBaseEntity;

public class WorkOrderBomItemAlternateEntity extends PartRelateBaseEntity{

	private static final long serialVersionUID = 1L;
	private long workOrderId;
	private long workOrderBomItemId;
	
	private long partId;
	private String partNo;
	private String partRevision;
	
	private long alternatePartId;
	private String alternatePartNo;
	private String alternatePartRevision;
	
	private BigDecimal conversionFactor; //换算系数 1比1；1比2等等
	private BigDecimal maxReplacementPercent; //替换比例
	
	
	public long getWorkOrderId() {
		return workOrderId;
	}
	public void setWorkOrderId(long workOrderId) {
		this.workOrderId = workOrderId;
	}
	public long getWorkOrderBomItemId() {
		return workOrderBomItemId;
	}
	public void setWorkOrderBomItemId(long workOrderBomItemId) {
		this.workOrderBomItemId = workOrderBomItemId;
	}
	public long getPartId() {
		return partId;
	}
	public void setPartId(long partId) {
		this.partId = partId;
	}
	public String getPartNo() {
		return partNo;
	}
	public void setPartNo(String partNo) {
		this.partNo = partNo;
	}
	public String getPartRevision() {
		return partRevision;
	}
	public void setPartRevision(String partRevision) {
		this.partRevision = partRevision;
	}
	public long getAlternatePartId() {
		return alternatePartId;
	}
	public void setAlternatePartId(long alternatePartId) {
		this.alternatePartId = alternatePartId;
	}
	public String getAlternatePartNo() {
		return alternatePartNo;
	}
	public void setAlternatePartNo(String alternatePartNo) {
		this.alternatePartNo = alternatePartNo;
	}
	public String getAlternatePartRevision() {
		return alternatePartRevision;
	}
	public void setAlternatePartRevision(String alternatePartRevision) {
		this.alternatePartRevision = alternatePartRevision;
	}
	public BigDecimal getConversionFactor() {
		return conversionFactor;
	}
	public void setConversionFactor(BigDecimal conversionFactor) {
		this.conversionFactor = conversionFactor;
	}
	public BigDecimal getMaxReplacementPercent() {
		return maxReplacementPercent;
	}
	public void setMaxReplacementPercent(BigDecimal maxReplacementPercent) {
		this.maxReplacementPercent = maxReplacementPercent;
	}
	
	
}
